package com.chuantou.yuba.api.to;

import com.google.gson.annotations.SerializedName;

import android.os.Parcel;
import android.os.Parcelable;

public class BDGeoDataTO implements Parcelable {
	@SerializedName("result")
	private BDGeoTO geo;

	public BDGeoDataTO() {
	}

	public BDGeoDataTO(Parcel source) {
		this.geo = source.readParcelable(BDGeoTO.class.getClassLoader());
	}

	@Override
	public int describeContents() {
		return 0;
	}

	@Override
	public void writeToParcel(Parcel dest, int flags) {
		dest.writeParcelable(geo, flags);
	}

	public static final Creator<BDGeoDataTO> CREATOR = new Creator<BDGeoDataTO>() {

		@Override
		public BDGeoDataTO[] newArray(int size) {
			return new BDGeoDataTO[size];
		}

		@Override
		public BDGeoDataTO createFromParcel(Parcel source) {
			return new BDGeoDataTO(source);
		}
	};

	public BDGeoTO getGeo() {
		return geo;
	}

	public void setGeo(BDGeoTO geo) {
		this.geo = geo;
	}

}
